package great.project.jpa.sign.table.controller;

import great.project.jpa.sign.table.domain.respository.SysRoleRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @author v_zhangshun01
 */
@RestController
public class TestController {

    @Autowired
    private SysRoleRepository sysRoleRepository;

    @RequestMapping("test")
    public Object test(){
        return sysRoleRepository.findAll();
    }

}
